package com.jiyiren.demospring.dao;

import com.jiyiren.demospring.bean.UserInfo;
import org.springframework.jdbc.core.JdbcTemplate;

import javax.sql.DataSource;
import java.sql.SQLException;

/**
 * Created by yiji on 2017/2/22.
 * 接口各种数据库连接共用
 */
public interface UserInfoDao {

    public int login(String useroremail,String password,int type);

    public UserInfo getUserInfo(String useroremail,String password,int type);

    public UserInfo getUserInfoById(String userid);


}
